<?php
/**
 * 前台路由
 */


//优惠券
Route::group([
    'namespace' => 'App\Http\Controllers\xinStore',
    'prefix' => 'v1/coupon',
    'middleware' => ['response', 'auth'],
], function () {
    Route::post('/add', "CouponController@addCoupon");
    Route::delete('/del', "CouponController@delCoupon");
    Route::put('/edit', "CouponController@editCoupon");
    Route::get('/list', "CouponController@getCouponList");
    Route::get('/info', "CouponController@getCouponInfo");
});
